<?php

class DiskSpaceController extends Controller {
    var $name = 'DiskSpace';
    var $components = array('space');
    
    function index() {
        $this->action = 'disk_space';
        $this->disk_space();
    }
    
    function disk_space() {
        $space = get_space_info();
        $database = get_database_info();

        $this->set('space', $space);
        $this->set('database', $database);
    }
}

?>
